package com.flyoil.petromp.entity.entity_course_detail;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 物资采购计划单明细的实体类
 */

public class GoodsExamineDetailEntity extends BaseEntity {


    /**
     * data : {"id":"类型: java.lang.Long 描述: id","materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号","unit":"类型: java.lang.String 描述: 单位","price":"类型: java.math.BigDecimal 描述: 采购单价","totalAmount":"类型: java.math.BigDecimal 描述: 采购总价","orderQuantity":"类型: long 描述: 订货数量","receivedQuantity":"类型: long 描述: 实收数量","invoicesNo":"类型: java.lang.String 描述: 发票号","packageStatus":"类型: java.lang.String 描述: 外包装是否完好","exteriorDefectsLabel":"类型: java.lang.String 描述: 外观缺陷","files":[{"id":"类型: java.lang.Long 描述: id","name":"类型: java.lang.String 描述: 文件名","url":"类型: java.lang.String 描述: 访问url"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 类型: java.lang.Long 描述: id
         * materialName : 类型: java.lang.String 描述: 物资名称
         * model : 类型: java.lang.String 描述: 规格/型号
         * unit : 类型: java.lang.String 描述: 单位
         * price : 类型: java.math.BigDecimal 描述: 采购单价
         * totalAmount : 类型: java.math.BigDecimal 描述: 采购总价
         * orderQuantity : 类型: long 描述: 订货数量
         * receivedQuantity : 类型: long 描述: 实收数量
         * invoicesNo : 类型: java.lang.String 描述: 发票号
         * packageStatus : 类型: java.lang.String 描述: 外包装是否完好
         * exteriorDefectsLabel : 类型: java.lang.String 描述: 外观缺陷
         * files : [{"id":"类型: java.lang.Long 描述: id","name":"类型: java.lang.String 描述: 文件名","url":"类型: java.lang.String 描述: 访问url"}]
         */

        private int id;
        private String materialName;
        private String model;
        private String unit;
        private String price;
        private String totalAmount;
        private String orderQuantity;
        private String receivedQuantity;
        private String invoicesNo;
        private String packageStatus;
        private String exteriorDefectsLabel;
        private List<OrderFilesEntity> files;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMaterialName() {
            return materialName;
        }

        public void setMaterialName(String materialName) {
            this.materialName = materialName;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(String totalAmount) {
            this.totalAmount = totalAmount;
        }

        public String getOrderQuantity() {
            return orderQuantity;
        }

        public void setOrderQuantity(String orderQuantity) {
            this.orderQuantity = orderQuantity;
        }

        public String getReceivedQuantity() {
            return receivedQuantity;
        }

        public void setReceivedQuantity(String receivedQuantity) {
            this.receivedQuantity = receivedQuantity;
        }

        public String getInvoicesNo() {
            return invoicesNo;
        }

        public void setInvoicesNo(String invoicesNo) {
            this.invoicesNo = invoicesNo;
        }

        public String getPackageStatus() {
            return packageStatus;
        }

        public void setPackageStatus(String packageStatus) {
            this.packageStatus = packageStatus;
        }

        public String getExteriorDefectsLabel() {
            return exteriorDefectsLabel;
        }

        public void setExteriorDefectsLabel(String exteriorDefectsLabel) {
            this.exteriorDefectsLabel = exteriorDefectsLabel;
        }

        public List<OrderFilesEntity> getFiles() {
            return files;
        }

        public void setFiles(List<OrderFilesEntity> files) {
            this.files = files;
        }
    }
}
